package cn.edu.lingnan.dao;

import cn.edu.lingnan.entity.Banji;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: chen_man_cheng
 * @Description: //TODO
 * @Date: Create in 17:26 2020/6/7
 */
@Mapper
@Repository
public interface BanjiDao {
    boolean insert(Banji banji);

    List<Banji> queryAll();

    Banji queryById(Integer id);
}
